<!DOCTYPE html>
<html>
	<head>
		<title></title>
		<style>
			
		</style>
	</head>
	<body>
		<input id="in1" index="haha"/>
	</body>
	<script type="text/javascript">
		var in1 = document.getElementById('in1');
		console.log(in1.index);
		console.log(in1);
	</script>
</html>